package cn.hx.admin.entity;

import org.springframework.security.core.GrantedAuthority;

import java.util.Objects;

public class UserAuthority implements GrantedAuthority {
       private String authority;

        public UserAuthority setAuthority(String authority) {
            this.authority = authority;
            return this;
        }


    @Override
        public String getAuthority() {
            return authority;
        }
    }